ADP\BaseVersion\Includes\Cart\CartProcessor D

Total Complexity 131
Dependencies 30
Dependents 3
Total lines 1,017
Lines of code 600
Logical lines of code 388
Comment lines 211
Methods 22
Properties 21

Methods 22

Method Rating Maintainability Complexity Lines of code
process()
D
14
60 298
replaceWcNotice()
A
46 16 40
maybeRemoveOriginCoupons()
A
48 7 33
addCommonItems()
S
45 6 39
__construct()
S
46 5 37
setProductPriceDependsOnPriceMode()
S
53 5 23
notifyAboutAddedFreeItems()
S
61 5 12
eliminateClones()
S
56 4 18
syncCartItemHashes()
S
63 5 10
processFreeItems()
S
60 3 13
applyTotals()
S
62 2 12
sanitizeWcCart()
S
68 2 7
filterCheckCartItemExistenceBeforeUpdate()
S
70 2 6
addNoticeRemovedFreeProduct()
S
61 1 12
installActionFirstProcess()
S
63 1 11
addNoticeAddedFreeProduct()
S
62 1 11
purgeAppliedCoupons()
S
81 1 3
addOriginCoupons()
S
79 1 3
getCommonItemsFromCart()
S
79 1 3
getListener()
S
82 1 3
getWcNoFilterWorker()
S
82 1 3
addRuleTriggerCoupons()
S
79 1 3